package com.bookshop.entity;

import java.io.Serializable;

/**
 * 订单详情
 * @author yannis
 *
 */
public class OrderBook implements Serializable {
 
	private static final long serialVersionUID = -165531959759035732L;

	private int id;//自增ID
	private  String orderNo;//订单号
	private int bookId;//图书编号
	private int bookNum;//图书数量
	private double bookPrice;//商品价格
	private String bookImg;//图书封面图片

	public OrderBook() {
		super();
	}
	public OrderBook(String orderNo, int bookId, int bookNum, double bookPrice,
			String bookImg) {
		super();
		this.orderNo = orderNo;
		this.bookId = bookId;
		this.bookNum = bookNum;
		this.bookPrice = bookPrice;
		this.bookImg = bookImg;
	}
	public OrderBook(int id, String orderNo, int bookId, int bookNum,
			double bookPrice, String bookImg) {
		super();
		this.id = id;
		this.orderNo = orderNo;
		this.bookId = bookId;
		this.bookNum = bookNum;
		this.bookPrice = bookPrice;
		this.bookImg = bookImg;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	 
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public int getBookNum() {
		return bookNum;
	}
	public void setBookNum(int bookNum) {
		this.bookNum = bookNum;
	}
	public double getBookPrice() {
		return bookPrice;
	}
	public void setBookPrice(double bookPrice) {
		this.bookPrice = bookPrice;
	}
	public String getBookImg() {
		return bookImg;
	}
	public void setBookImg(String bookImg) {
		this.bookImg = bookImg;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	 
	
}
